#!/bin/bash

cd /home/nvidia/catkin_ws

gnome-terminal -t "rslidar" -x bash -c "source devel/setup.bash; roslaunch rslidar_sdk start.launch; exec bash" 
sleep 2s

gnome-terminal -t "ins" -x bash -c "source devel/setup.bash; roslaunch ins demo.launch; exec bash" 
sleep 2s

gnome-terminal -t "can_interface" -x bash -c "source devel/setup.bash; roslaunch can_device_interface can_interface.launch; exec bash" 
sleep 2s

gnome-terminal -t "can_ad_interface" -x bash -c "source devel/setup.bash; rosrun can_ad_interface can_ad_interface_node; exec bash" 
sleep 2s

exit 0

